<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import todolist from '@/components/todolist.vue'
import welcome from '@/components/welcom.vue'
// import submit from '@/components/submit.vue'
// import login from '@/components/login.vue'
import {ref} from 'vue'

const user=ref('')

// function addUser(){
//   if(sessionStorage.getItem('username')!==null){
//     user.value=sessionStorage.getItem('username')
//   }
// }

</script>

<template>
  <!-- <RouterView></RouterView> -->
<!-- <login></login> -->
  <!-- <submit></submit> -->
  <RouterView></RouterView>
</template>

<style scoped></style>
